/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.esdc.librarysystem.manager;

import com.esdc.librarysystem.exception.NotExistException;
import com.esdc.librarysystem.exception.LibraryPolicyException;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author shou1dwe
 */
@Remote
public interface MemberManagerRemote {
    public long addMember (String name, String type, String password, String department, String email, String faculty, String telNumber);
    public void deleteMember (long id) throws NotExistException, LibraryPolicyException;
    public boolean verify(long memberId, String password);
    public List findMembersByName (String name);
}
